//
//  LBBaseRequest
//  LBNetworking
//
//  Created by WuShiHai on 19/5/30.
//  Copyright (c) 2019 Lebbay. All rights reserved.
//

#import "LBRequestSystem.h"
#import "LBRequestSession.h"

@interface LBBaseRequest : NSObject

/**
 签名
 */
@property (nonatomic, copy) NSString *sign;

/**
 系统级参数
 */
@property (nonatomic, strong) LBRequestSystem *system;

/**
 用户会话信息
 */
@property (nonatomic, strong) LBRequestSession *session;

/**
 业务入参
 */
@property (nonatomic, strong) NSDictionary *data;

/**
 请求地址
 */
@property (nonatomic, strong) NSString *apiKey;

+ (instancetype)defaultRequest:(NSString *)bundleVersion;

+ (instancetype)defaultRequest:(NSString *)bundleVersion
                        apiKey:(NSString *)apiKey
                         token:(NSString *)token
                        userId:(NSString *)userId;

- (NSDictionary *)signRequest;

@end
